package Test;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import javax.swing.*;
import java.awt.*;
import java.util.GregorianCalendar;
import java.util.Iterator;

import static org.junit.Assert.assertEquals;

/**
 * Created by Xiang on 14-6-21.
 */
public class JunitTestTest {

    private JunitTest test = null;

    @Before
    public void tearDown() throws Exception {
        test = new JunitTest();
    }

     @Test
    public void testSayHello() throws Exception {
       assertEquals("Hello",test.sayHello());
    }

    @After
    public void finish() {
       
    }

    public static void main(String[] args) {
        System.out.println();
        for (String arg : args) {

        }
        GregorianCalendar calendar = new GregorianCalendar();
        int week = calendar.get(calendar.DAY_OF_WEEK);
        JFrame frame = new JFrame("Demo");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JLabel label = new JLabel("");
        Container content = frame.getOwner();
        String s ="";

    }




}
